package com.common.android.utils.smiley;

public class Smiley {	
	public static final String IMGSTART="&<img>";
	public static final String IMGEND="<img>&";
	public static final String WEIBO_IMGSTART="[";
	public static final String WEIBO_IMGEND="]";
	public static final int TYPE_CHAT=0;
	public static final int TYPE_WEIBO=1;
	public static final int SIZE_ORI=0;
	public static final int ADDLEN=5;            	//表情长度-1
	public static final int SIZE_TEXT=16;	 		//最近联系人里显示
	public static final int SIZE_STANDARD=32;	 	//标准表情尺寸
	public static final int SIZE_CAT=84;			//猫先生表情尺寸
	public static int MAX_SMILE_STR_LENGTH=4;   //表情中间的长度
	public static int MAX_SMILE_LENGTH=16;   //表情的长度
	public static int MAX_SEND_MSG_LENGTH=592;  //发送的长度

	public int id;
	public String name;				//资源的文件名称
	public String gifName;			//GIF资源的文件名称
	public String tip;
	public String shortCut;
	public String path;
	public int unicode;
	public String utf8Code;
	public long lastUsedTime;
	public static String getStartString(int type){
		if (type==TYPE_CHAT){
			return IMGSTART;
		}else{
			return WEIBO_IMGSTART;
		}
	}
	
	public static String getEndString(int type){
		if (type==TYPE_CHAT){
			return IMGEND;
		}else{
			return WEIBO_IMGEND;
		}
	}
}
